package com.punch.course.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punch.common.model.SuperEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * CourseCategroy-
 *
 * @author wujj
 * @version 1.0.0
 * @since 2020/7/24 15:27
 */
@Data
@Accessors(chain = true)
@TableName("course_category")
public class CourseCategroy extends SuperEntity<CourseCategroy> {

    /**
     * 所有父级地区id
     */
    @TableField("parent_id")
    private Long parentId;

    /**
     * 所有父级地区id
     */
    @TableField("category_name")
    private String categoryName;

}
